package net.suncaper.mvc.model.domain;

/**
 * 用户角色关联实体类
 */
public class UserRole {
    /**
     * 用户ID
     */
    private String userId;

    /**
     * 角色ID
     */
    private Integer roleId;

    /**
     * 酒店名称
     */
    private String hotelName;

    // 无参构造函数
    public UserRole() {
    }

    // 全参构造函数
    public UserRole(String userId, Integer roleId, String hotelName) {
        this.userId = userId;
        this.roleId = roleId;
        this.hotelName = hotelName;
    }

    // Getter 和 Setter 方法
    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }

    public String getHotelName() {
        return hotelName;
    }

    public void setHotelName(String hotelName) {
        this.hotelName = hotelName;
    }
}